text/template/parse.Tree.peek (method)
11 uses
text/template/parse (current package)
parse.go#L101: func (t *Tree) peek() item {
parse.go#L300: t.Root = t.newList(t.peek().pos)
parse.go#L301: for t.peek().typ != itemEOF {
parse.go#L302: if t.peek().typ == itemLeftDelim {
parse.go#L416: token := t.peek()
parse.go#L465: tokenAfterVariable := t.peek()
parse.go#L548: if context == "if" && t.peek().typ == itemIf {
parse.go#L552: } else if context == "with" && t.peek().typ == itemWith {
parse.go#L730: if t.peek().typ == itemField {
parse.go#L731: chain := t.newChain(t.peek().pos, node)
parse.go#L732: for t.peek().typ == itemField {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)